package edu.xust.example;





import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

@WebServlet(name = "/test")
public class TestServlet extends HttpServlet {
    //public void service(HttpServletRequest req, HttpServletResponse resp){
//        System.out.println("service2");
//    }
    public void doGet(HttpServletRequest req, HttpServletResponse resp){
        System.out.println("doGet");
    }
    public void doPost(HttpServletRequest req, HttpServletResponse resp){
        System.out.println("doPost");
    }
}
